Fixed #830

When `save` event was fired, the button would revert back, but since it was bound using `.one` the click handler was not available.

Change it so we read a state bool as to whether it's locked or not.
Merge pull request #833 from remy/fix/830-lock-bin

Fixed #830