Added status handler for the "commit button".