Changes to the way some tram tickets in Sheffield need to be paid for have been announced.