Merged some of the sencha code in which is working alongside push notifications