Mediator pattern implemented to enable/disable buttons after every action.