refreshItemsVisibility

Refresh items visibility in the adapter. This has to be called on the main thread.