starting state is automatically the first one (MAIN_MENU in our case)