Removed receive button, instead foreground dispatch is started and stopped in onResume() and onPause().