Added query mobile back in.
Fixed attending button state bug on refresh