Rename event handler onClicked to onClick