Adding ConfigRepository
Adding func RegisterClick