test button works
altered resource names
implementing preferences handler