ActionFinish in the API

Last mile of the ActionFinish function to the API
Wait, what is wrong with me? Ignore that. Completely the wrong package. Everything's called state :/.