Added correct callback and submit
Credit to Jeroen for helping me out with this callback.