fixed the homeVC behavior on cancell and delete buttons