changed habit added flash message