added functionality to settings button