using colour from settings
Display handle should be defined variable and do correct comparison of state