add Start/Stop application function