Added code to run when the program is started again
Added new option, ChangeCheckState, for starting the program when it's already running