Cleaning old menus when synching

Same as #40 but into correct branch.