Update to 3.1.1

* Fix "application does not start" bug (only works if full debbuging is
enabled)
* Fix error while closing form when androidController is not ready yet
* Other minor fixes