Click delete on an empty list crashes app