Make actions sensitive on selection changed
Re-enables snapping. Also disconnect from signals when needed.