added event listeners for settings menu