Fixed bug for updating AnalyzePanel after selling and refunding, and for cleaning checkboxes after selling