Undo button works. tidy-ed up layout of code
Undo button works. tidy-ed up layout of code
fixing multi rules **working progress**