Only call get intent once