Add empty view support for the main item list
Fix a bug occuring when changing tabs while in search mode