Update index.php

clear button now works, it basically refreshes page.