Fixed up app crash, android manifest permissions, gson serialization.