TONY: Add a reset function in RMWindow in order to group variable initialization