I added a user-input edittext so the user can set the frequency
generated from the linear sample button