An apple a day might keep the doctor away, but not if it rots before you can enjoy it. Apples can be stored at room temperature, but if you want greater longevity, store your apples in the refrigerator, preferably in the crisper drawer. Leaving an apple out at room temperature will cause it to ripen after a few days, but popping it into the fridge will keep it crisp for weeks.
Flour will stay fresh and usable if it’s placed in an airtight metal, glass, or plastic container, rather than leaving it in the paper bag packaging from the store. Flour takes a longer time to go bad compared to most foods, but the process will still move faster if it isn’t protected. Whole grain flours are particularly sensitive. You might want to consider storing whole grain flour in the refrigerator or freezer to slow down the oxidation process further.