Solved the problem using distinctUntilChanged() in my TaskRepository
fun getTasksByDate(startOfDay: Long, endOfDay: Long): LiveData<List<Task>> { return taskDao.getTasksByDate(startOfDay, endOfDay).distinctUntilChanged() }