Fixed TotalAmount Refreshing
Changed datatype of amount in position to uint
Improved position in- and decrementing