H1 and H2 can now be undone on button click

Added in a couple lines that allow for h1 and h2 to be undone when a selection is an h1 or h2 and the button is clicked, similar to the functionality of the bold, italics and underline buttons