Java written Android task manager