Refactor IDs to Vizabi conventions, fix flicker issue after selecting elements