Some erros with Base64 and with the python script were fixed. The
airplane mode is changed if the user has API lower than v16.
Permissions added and checking some things to do about airplane mode on
API's higher than v17.
Script updated