Removed unnecessary gui refresh