fix subcribe
add test
fix karma test. rm unused code
Merge pull request #1791 from matiu/bug/use-all-funds

Fix #1789 - use all funds button