A Protein Kinase A-Regulated Network Encodes Short- and Long-Lived Cellular Memory