Register button onklick set