Changed show/hide method for settings panel