Fixed NPE bug called by reference null mActivity members