Allow moving between states programmatically