Possible fix for invest and timer applet.