#3 Making it work on Galaxy sa GT-I9505

#3 Making it work on Galaxy sa GT-I9505
Now it decides which service to use depending on what services exists.
Also changed target SDK and added permission to transmit IR.