Fix Bug in demo GUI