aded settings buttun and fixed cell table