worked on UI
frequency-tracker works, code optimized, UI optimized; i assume that there are problems concerning the z-values of the accelerometer