Added alert for incomplete input in PreferenceEditPage.