Fixed crash on choose button