Hide buttons if library is empty
When having an empty library, the sort and edit buttons are still displayed while they don't serve a purpose.
Additionally, after clicking the edit button twice, the sort button is hidden.
Ideally, both buttons should be hidden as long as the library is empty.