rename createButtons to createMenu