Need help with some logic in my sketch.

I'd love to read more. Right now I'm working on displaying all three states and updating them when they change.