Custom widget cleanup