receipt type

possibility to activate the type buttons
some improvements