Made fill function use select() as default

Moved from using select_by_text, to a more intelligent function.