Fixed rare null pointer exception. Updated gradle version
Version code update