Hooked up UI state and GameScene state.