add toast when save and header when send request to server