activity onresume  nullpoint excption fixed

Change-Id: I394228ea364283447605381d947b045ffca548cf