Set active image on tab change