Move escape pressed subscription to state