Loading window from layout file