Moved the broadcast semantic to MainActivity