MainActivity: Fix a strange NPE
Signed-off-by: Peter Cai <xqsx43cxy@126.com>