Fix controller state changes

The application is still crashing a lot. Often the controller is not the
correct state. I have added more state changes for the controller. Also
I forgot to add the set snapshot action in the main activity. With this
commit a snapshot can be displayed once again.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>