Version code and Layout changes
Moved sleep part to it's proper place