Add restart app api