update repository to version 2.2.0 written by Sergiu
add toogle function parameter when ClassySocial is calling