Assigning a variable based off app's current state

Printable View