fix the settings button not appearing in some pages and not being properly clickable