NanoUI fixes

- Fixes #6013
- Reverts temporary fix that removed the problem formatting (#6343)
- Renames red and yellow button classes to be more self explanatory