add map activity save state and add marker by qr scanning