Added default state and moved setting new state to transition. It made more since to have transition perform that action, states should be as dumb as possible