CSE-11: added UserDefaults flag to detect first opening