more work on settings class, add spinner with update frequency, create preference manager, store and retrieve selected frequency