Added events handling to select2