Added --wakelock option to Android
Fixed bug with single permission
Merge branch 'add_wakelock_option'