Update form buttons and manage view