Adding functionality to settings