Fix cafe import and set active.