Newly appointed St Johnstone manager Callum Davidson says it was tough to leave his role as assistant boss at Millwall amid the club's Championship play-off push.