Refining

-refining UI
-setting algorithm for new device