Null-check for activity creation ahmahgahd