Not a bug, but more of a QOL up to you
After upgrading a laboratory button the farthest you can, it defaults to the sort inventory button, which is somewhat difficult to see when selected, but not a bad option.
Maybe it could default to the first slot of the buildings inventory or similar instead?