Add clear and reload functionality