Added unit inactivity and possibility to cancel prev order.