(Menu) Split up ACTION_OK logic into separate function