Fix return info when changing delay type (separate into error and success messages)
Fix another warning