The items not disappearing from your hotbar is a bug due to reworking basically all of the UI. It should be fixed in the next patch. For now if you just place something else in that slot it should overwrite it and be fine.
As for the barn and coop, are you checking under the upgrade section of the building UI? There is a tab on the right. Assuming, you are then I’ll check into it.