implemented save button in settings view