Refresh changes after commit. Enable/disable button on commit click.