Added automatic favicon update based on label color
Added flex support