add method to not render widget if in mxit