Implemented onClick for add directory source