Added action to cancel button in settings  page