Remember preferred edit action
Removed some comments