fixed debuggable flag
removed depricated code
picked from playstore