Fix app restart delay set with arguments

Passed Object  is not always long so it is never changed form defaults