Code CleanUp | Closeing event