Completes implementation of afterSelect callback

This makes the afterSelect lifecycle event work, but I'm not sure if I've put the trigger in the right place (View.scala:92).