moved initialization of item buttons