“app last state when closed”

See here for something similar