changing the layout and fixig transaction edit