Button functionality for saving MC-solutions