Use a named function to open the butler view.

Since the same callback is used twice, we can reduce code duplication by saving a reference and reusing.