Yes there is! Here is a guide made by the incredible @Dara.Amarie that focuses on this subject:
HOW TO: Remember Past Choices (if/elif/else)