Possible NPE in AllInOneActivity

Change-Id: I43cf4be257a20c775b94c506df686c0eff8995fe