replaced anonoymous function callbacks with named functions for time signature voting and music voting