change from popup to settings page