Lots of android stuff
Fixed main activity