Make multiple attempts at applying css (needed when several tabs are restored on browser start)