sr: Return to main menu after selection

Change-Id: Ib6fd1904b6516a651ffaad20f66b2eaf42c31619
fix vulnerability in bspatch

Patches with control data tuples with negative numbers in the first
and/or second can cause bspatch to write to arbitrary locations in the
heap.

Change-Id: I8c5d81948be773e6483241131d3d166b6da27cb8