Added functionality to voting buttons