As mentioned in the comments, this certainly sounds like Slipstream (2005).
Stuart Conway (Sean Astin) has developed a hand-held, cellphone-like time travel device called 'Slipstream' that allows the user to travel back in time 10 minutes by interfacing with a cellphone system regional antenna. At first, he uses the device primarily to try, albeit unsuccessfully, to arrange a date with a female bank clerk. [...]
During the fight, Stuart had been shot in the chest by a stray bullet. Before he dies, Stuart takes Sarah and himself back in time to before the bank robbery, and Sarah unsuccessfully tries to foil the heist. Unfortunately, Briggs takes the Slipstream device as a souvenir. Stuart and Sarah realize it's only a matter of time before Briggs and his cronies discover the true potential of the device. [...]
Near the end, as a passenger in the falling airplane, Stuart is able to reverse the entire sequence of events because, being airborne, he has access to many cellphone relay systems and therefore is not restricted to the 10-minute limit.
Here's the trailer, where you can notably see the bank robbery and the Slipstream device (here's a screenshot in case the video gets taken down):