Button events

Completed the styling for the various buttonStates, and completed the
events associated with the buy/sell buttons, and moved the event
handlers to a separate file for better overview.