finish detect home onclick