Add location.reload(); to dynmaic button event