fixed malloc problem since mAdapter gets deactivated by the ServiceMan