Now stores latest ip to memory.
If ip changes, it will be resubmitted