Add "Assign imbalance" button to the Transaction panel

Fixes #398