Made front add item buttons work