Adding method to toggle the caret for Buttons. Fixed #190.