adding cancel and save buttong for setting view