Refactor edit functionality - implement more sophisticated seconds padding for homeview