Not sure who the author is. The device is like the remote control. I can't remember the time period she goes back to but she goes several times.
At one point she is in jail. A doctor gives her the device to help stop her seizures.
At one point it stops working so she takes it to a repair shop and they think it is an actual garage door remote so they make it more powerful than it was intended. I think she gets stuck in the past.