Make quantity buttons work