refactoring
minor changes on settings page
fixed delayed toggle on search box