Fix app restart delay set with arguments