fixed custom report crashing by checking that the mandatory property criteria are satisfied and also added styling to save button on corrective and preventive reports