Kinda got undo working, added uialertview to create session