Fix #460

Solution was simple enough. Just save the last selected instance, and
make the select button select the last selected instance.

This was the bug: https://www.youtube.com/watch?v=Kf_UKHmFt6Q