changes method due to updated sdk (T-6731)
Merge pull request #38 from Backendless/T-6731_pushdemo_fix

changes method due to updated sdk (T-6731)
Merge branch 'master' into T-6514_object_save