Little fix in DB and added methods in DaysAdapter