showing active state in top bar, setting it orginally from config file.