Fixed minor bug with solve button