Add timepicker
Add key state report
Code optimization