Add a simple function to toggle hardmode

A single key binding to turn hardmode on or off is easier to remember.