completed the locking mechanism on key signature widget.