You could use input event instead it's more efficient when you trach user inputs, check example below :
確定! 回上一頁