Removed unused variable in GUI