Refactored Android local notifications MOSYNC-2563.