STATE: Adding the callbacks for the state changing, using that to change the actions that are displayed