Add action when check window loads