refactoring Barrier settings and placed it to class Barrier, the Next option is available now to next barrier if cleared