invert() in the right place for buttons to start out toggled on