cell.erb added
added flash and fixed the button