#163. Fixed js issues with double save and form, some changes in views.