Turn the smoke detector clockwise until it snaps into place.