fix bug with add item button hiding on click