Save interval in user defaults