android lint fixes, nullpointer fixed, increased targetSDKversion, added missing permissions