Add first version of keyframe recording method with button presses.