Implemented download code button.
Additional fix for #115.