refresh button added and init button fixed

now when you press refresh button it simply makes what refreshing page
does and init function creates all simulation from start again