fix made to settings button functionality