Fixing manifest and wakelock