move mContext assignement to the top of onCreate