Changes: set topmostWindow variable always when possible
Changes: set topmostWindow variable always when possible

RevBy: Pauli Lehtinen
Details: set the variable also when adding or removing buttons.

rainisto/lipstick,sletta/lipstick,jusa/lipstick,rainisto/lipstick,jusa/lipstick,sletta/lipstick,adenexter/lipstick,rainemak/lipstick,pvuorela/lipstick,matthewvogt/lipstick,rainemak/lipstick,matthewvogt/lipstick,rainisto/lipstick,pvuorela/lipstick,giucam/lipstick,giucam/lipstick,rainemak/lipstick,giucam/lipstick,adenexter/lipstick,sletta/lipstick,pvuorela/lipstick,matthewvogt/lipstick