Checking if Id not equlas null.
Fixed one potentia lcrash in google api fragment