settings view and logic