Restore application state color from settings

Fixes #1065