Here’s a post by the incredible @Dara.Amarie on this subject. Hope it helps!
HOW TO: Remember Past Choices (if/elif/else)