Fix a bug if the database was empty
 - RecyclerView couldn't get view measurements