Set content directory from the UI