change the type of pressure attributes and enable/disable save button of log input view