Fix expenditure = 0 when selecting a budget source

This fixes #79 by using a setTimeout for the sidebar rendering. 

cc @smit1678