I agree with Angry-Monkey's suggestions. Sounds as if there was some slack in the cable after the previous brake application with the result that the end of the cable in the lever was able to get out of position. Check for anything that could be causing the cable or the brake arms to bind and therefore let the cable have some slack in it.