fix a bug in SettingsGoalActivity