Fixed signals connection
Added validation on number of pieces bought no more than avaiable