trying to fix button visibility on settings page