amelia: set stateful input color, fix #90