Fixes and TimeCounter addition

Fixed keyboard issue
Replaced getTimeInMillis for getTime
Added TimeCounter