How to reload a dash app by condition

Hi,

It is possible to reload my dash App in a callback?
i Tried this:

html.A(html.Button('Refresh Page', id='refresh-page', n_clicks=0),href='/'),
...
@app.callback(
Output...
Input('refresh-page', 'n_clicks'),
Input...
)
def refresh(n_clicks, input2,...):
       if condition:
           n_clicks ==1

But it didn’t do what i expected.
So i there a way to refresh the complet app when condition is True?
Thanks in Advance