Android: Properly handle updating via AlarmManager

Signed-off-by: Frca <killerfrca@gmail.com>