Extract widgets-interface functions to new ns

Also, only update page for valid dates (YYYY-MM-DD)