programmingtab: replaced the useage of find window by ID