def METHOD_NAME(self):
    """
    Pages:
        in: SUBMARINE_MOVE_CONFIRM
        out: STRATEGY_OPENED, SUBMARINE_MOVE_ENTER
    """
    logger.info('Submarine move cancel')
    while 1:
        if self.appear_then_click(SUBMARINE_MOVE_CANCEL, offset=(20, 20), interval=5):
            pass
        if self.handle_popup_confirm('SUBMARINE_MOVE'):
            pass
        if self.appear(SUBMARINE_MOVE_ENTER, offset=120):
            break
        self.device.screenshot()